package com.songcan.model.oauth;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * <p>
 * 用户角色表
 * </p>
 *
 * @author jobob
 * @since 2020-04-29
 */
@Data
@TableName("sys_user_role")
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class SysUserRole  {



    /**
     * 用户ID
     */
    @TableId(value = "user_id",type= IdType.ID_WORKER)
    private Long userId;

    /**
     * 角色ID
     */
    private Long roleId;


}
